package org.jeecg.dev.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备保养
 * @Author: jeecg-boot
 * @Date:   2022-03-05
 * @Version: V1.0
 */
@Data
@TableName("dev_equipment_maintenance")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="dev_equipment_maintenance对象", description="设备保养")
public class DevEquipmentMaintenance implements Serializable {
    private static final long serialVersionUID = 1L;

	/**设备保养记录主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "设备保养记录主键")
    private java.lang.String id;
	/**设备编码*/
	@Excel(name = "设备编码", width = 15)
    @ApiModelProperty(value = "设备编码")
    private java.lang.String equipmentCode;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private java.lang.String equipmentName;
	/**设备型号*/
	@Excel(name = "设备型号", width = 15)
    @ApiModelProperty(value = "设备型号")
    private java.lang.String equipmentMode;
	/**设备运行状态*/
	@Excel(name = "设备运行状态", width = 15, dicCode = "equipment_status")
	@Dict(dicCode = "equipment_status")
    @ApiModelProperty(value = "设备运行状态")
    private java.lang.String equipmentStatus;
	/**操作人*/
	@Excel(name = "操作人", width = 15)
    @ApiModelProperty(value = "操作人")
    private java.lang.String actionPerson;
	/**开机时间*/
	@Excel(name = "开机时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开机时间")
    private java.util.Date turnOnTime;
	/**关机时间*/
	@Excel(name = "关机时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "关机时间")
    private java.util.Date turnOffTime;
	/**保养日期*/
	@Excel(name = "保养日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "保养日期")
    private java.util.Date maintenanceDate;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**使用前状态*/
	@Excel(name = "使用前状态", width = 15, dicCode = "pre_status")
	@Dict(dicCode = "pre_status")
    @ApiModelProperty(value = "使用前状态")
    private java.lang.Integer preStatus;
	/**是否正常润滑*/
	@Excel(name = "是否正常润滑", width = 15, dicCode = "is_ok")
	@Dict(dicCode = "is_ok")
    @ApiModelProperty(value = "是否正常润滑")
    private java.lang.Integer isOk;
	/**操作流程是否违规*/
	@Excel(name = "操作流程是否违规", width = 15, dicCode = "is_rules")
	@Dict(dicCode = "is_rules")
    @ApiModelProperty(value = "操作流程是否违规")
    private java.lang.Integer isRules;
	/**使用后是否清洁*/
	@Excel(name = "使用后是否清洁", width = 15, dicCode = "is_clear")
	@Dict(dicCode = "is_clear")
    @ApiModelProperty(value = "使用后是否清洁")
    private java.lang.Integer isClear;
	/**设备其他保养项目*/
	@Excel(name = "设备其他保养项目", width = 15)
    @ApiModelProperty(value = "设备其他保养项目")
    private java.lang.String otherProject;
}
